package com.dingup.mock.util;

/**
 * Created by yanggavin on 16/4/13.
 */
public class ConstUtil {
    /**
     * global
     */
    public final static String SYSTEM_START_UP_TIME = String.valueOf(System.currentTimeMillis() / 1000 / 600);
    public final static String SPEAKING_ANSWER_FILE_PREFIX = "sa";
    public final static String HOMEWORK_FILE_PREFIX = "hw";
    public final static String WX_COURSE_FILE_PREFIX = "wxc";
    public final static String EXAM_ID_PREFIX = "exam";
    public final static Integer EXAM_ID_RANDOM_WORD_LENGTH = 4;
    public final static String PLACEMENT_TEST_ID_PREFIX = "pt";
    public final static Integer PLACEMENT_TEST_ID_RANDOM_WORD_LENGTH = 4;
    public final static Integer USER_PASSWORD_MIN_LENGTH = 6;
    public final static Integer USER_NAME_MAX_LENGTH = 11;
    public final static Integer USER_ID_MIN_LENGTH = 3;
    public final static String REDIRECT = "redirect:";
    public final static String SYSTEM_DOMAIN_URL_OFFICIAL = "https://ibt.topschool.com";
    public final static String SYSTEM_DOMAIN_URL_PRE_OFFICIAL = "http://preibt.topschool.com";
    public final static String SYSTEM_DOMAIN_URL_DAILY_DEVELOP = "http://ibt.topschool.com";

    public final static String WX_100_WORD_CLASS_NAME = "顶上100天词汇学习班";

    /**
     * 微信开发数据
     */
    public final static String WX_APP_ID = "wxd38807fe9c097d8e";    // 微信APP的ID
    public final static String WX_APP_SECRET = "460615875470115dfb76f71539793e34";    // 微信APP的Secret
    public final static String WX_PARTNER_ID = "1309469201";    // 微信商户平台的ID
    public final static String WX_PARTNER_KEY = "e9cca3bb78869dc22eba7272c4007501"; // 微信商户平台秘钥
    public final static String WX_TEMPLATE_MESSAGE_ID = "_LdZ2lX04AU5GOq1BRJtim6-5C1Ou63PSh0G91YfvNs";
    public final static String WX_API_PARAMETER_ERROR_CODE = "errcode";
    public final static String WX_API_PARAMETER_ERROR_MESSAGE = "errmsg";
    public final static String WX_API_PARAMETER_ACCESS_TOKEN = "access_token";
    public final static String WX_API_PARAMETER_REFRESH_TOKEN = "refresh_token";
    public final static String WX_USER_ID_PREFIX = "wx";
    public final static String WX_UNIFIED_ORDER_REQUEST_PARAMETER_BODY_VALUE = "顶上微课";
    public final static String WX_API_URL_SILENT_AUTH = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd38807fe9c097d8e&redirect_uri=https://ibt.topschool.com/wx_auth/callback&scope=snsapi_base&state=silent_auth&response_type=code#wechat_redirect";
    public final static String WX_API_URL_HIGH_AUTH = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd38807fe9c097d8e&redirect_uri=https://ibt.topschool.com/wx_auth/callback&scope=snsapi_userinfo&state=high_auth&response_type=code#wechat_redirect";
    public final static String WX_API_URL_OAUTH2_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=wxd38807fe9c097d8e&secret=460615875470115dfb76f71539793e34&grant_type=authorization_code&code=";
    public final static String WX_API_URL_OAUTH2_GET_USER_INFO = "https://api.weixin.qq.com/sns/userinfo?lang=zh_CN";
    public final static String WX_API_URL_CGI_BIN_GET_USER_INFO = "https://api.weixin.qq.com/cgi-bin/user/info?";
    public final static String WX_API_URL_CGI_BIN_GET_USER_OPEN_ID_LIST = "https://api.weixin.qq.com/cgi-bin/user/get?access_token=";
    public final static String WX_API_URL_CGI_BIN_GET_USER_CUMULATIVE = "https://api.weixin.qq.com/datacube/getusercumulate?access_token=";
    public final static String WX_API_URL_CGI_BIN_GET_USER_SUMMARY = "https://api.weixin.qq.com/datacube/getusersummary?access_token=";
    public final static String WX_API_URL_CGI_BIN_GET_USER_INFO_LIST = "https://api.weixin.qq.com/cgi-bin/user/info/batchget?access_token=";
    public final static String WX_API_URL_CGI_BIN_GET_MEDIA_FILE = "http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=";
    public final static String WX_API_URL_SEND_TEMPLATE_MESSAGE = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";
    public final static String WX_API_URL_USER_PREPAY_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    public final static String WX_API_URL_USER_PAY_CALLBACK = "https://ibt.topschool.com/wx_course/notify.do";
    public final static String WX_API_URL_CGI_BIN_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wxd38807fe9c097d8e&secret=460615875470115dfb76f71539793e34";
    public final static String WX_API_URL_COURSE_CONTENT = "https://ibt.topschool.com/wx_course?wx_course_id=";
    public final static String WX_API_URL_QUERY_USER_ORDER = "https://api.mch.weixin.qq.com/pay/orderquery";
    public final static String WX_API_URL_GET_JS_API_TICKET = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=";
    public final static String WX_TRADE_TYPE_JS_API = "JSAPI";
    public final static String WX_OUT_TRADE_NO_PREFIX = "wp";
    public final static String WX_API_PARAMETER_PREPAY_ID = "prepay_id";
    public final static String WX_API_PARAMETER_RETURN_CODE = "return_code";
    public final static String WX_API_PARAMETER_RETURN_MSG = "return_msg";
    public final static String WX_API_PARAMETER_RESULT_CODE = "result_code";
    public final static String WX_API_PARAMETER_TRANSACTION_ID = "transaction_id";
    public final static String WX_API_RESPONSE_STATUS_SUCCESS = "SUCCESS";
    public final static String WX_API_PARAMETER_TRADE_STATE = "trade_state";
    public final static String WX_API_RESPONSE_STATUS_FAIL = "FAIL";
    public final static String WX_API_RESPONSE_MESSAGE_OK = "OK";
    public final static String WX_API_PARAMETER_PAY_APP_ID = "appId";
    public final static String WX_API_PARAMETER_PREPAY_APP_ID = "appid";
    public final static String WX_API_PARAMETER_PAY_TIME_STAMP = "timeStamp";
    public final static String WX_API_PARAMETER_PAY_TIMESTAMP = "timestamp";
    public final static String WX_API_PARAMETER_PREPAY_NONCE_STR = "nonce_str";
    public final static String WX_API_PARAMETER_PAY_NONCE_STR = "nonceStr";
    public final static String WX_API_PARAMETER_PACKAGE = "package";
    public final static String WX_API_PARAMETER_PAY_SIGN_TYPE = "signType";
    public final static String WX_API_PARAMETER_PAY_PAY_SIGN = "paySign";
    public final static String WX_API_PARAMETER_PREPAY_MCH_ID = "mch_id";
    public final static String WX_API_PARAMETER_BODY = "body";
    public final static String WX_API_PARAMETER_OUT_TRADE_NO = "out_trade_no";
    public final static String WX_API_PARAMETER_TOTAL_FEE = "total_fee";
    public final static String WX_API_PARAMETER_PREPAY_SPBILL_CREATE_IP = "spbill_create_ip";
    public final static String WX_API_PARAMETER_PREPAY_TRADE_TYPE = "trade_type";
    public final static String WX_API_PARAMETER_PREPAY_NOTIFY_URL = "notify_url";
    public final static String WX_API_PARAMETER_OPEN_ID = "openid";
    public final static String WX_API_PARAMETER_SIGN = "sign";
    public final static String WX_API_PARAMETER_SIGN_TYPE_VALUE = "MD5";
    public final static String WX_API_PARAMETER_TICKET = "ticket";
    public final static String WX_API_PARAMETER_SIGNATURE = "signature";
    public final static String WX_API_PARAMETER_ECHO_STR = "echostr";
    public final static String WX_API_PARAMETER_TIMESTAMP = "timestamp";
    public final static String WX_API_PARAMETER_NONCE = "nonce";
    public final static String WX_MC_CALL_BACK_URL = "redirect:https://mc.topschool.com/we_chat/%s?%s&open_id=%s&time_stamp=%s&security_token=%s";
    public final static String WX_MC_IBT_SECRET_KEY = "sldjfFJLdjFjidDIJFL";


    /**
     * response code
     */
    public final static Integer RESPONSE_CODE_SUCCESS = 200;
    public final static Integer RESPONSE_CODE_ERROR = 501;
    public final static Integer RESPONSE_CODE_ERROR_NOT_LOGIN = 521;//用户未登录
    public final static Integer RESPONSE_CODE_ERROR_SMS_VERIFY_CODE = 522;//短信验证码错误
    public final static Integer RESPONSE_CODE_ERROR_PHONE_NOT_REGISTER = 523;//手机号未注册
    public final static Integer RESPONSE_CODE_ERROR_RESET_PASSWORD = 524;//系统升级,请重置密码

    /**
     * response parameter
     */
    public final static String RESPONSE_PARAMETER_SPEAKING_SCRIPT = "speakingScript";
    public final static String RESPONSE_PARAMETER_SPEAKING_ANSWER_URL = "speakingAnswerUrl";

    /**
     * request parameter
     */
    public final static String REQUEST_PARAMETER_ID = "id";
    public final static String REQUEST_PARAMETER_CODE = "code";
    public final static String REQUEST_PARAMETER_STATE = "state";
    public final static String REQUEST_PARAMETER_REDIRECT_URL = "redirect_url";
    public final static String REQUEST_PARAMETER_ORIGINAL_URL = "original_url";
    public final static String REQUEST_PARAMETER_OPENID = "openid";
    public final static String REQUEST_PARAMETER_COURSE_TITLE = "course_title";
    public final static String REQUEST_PARAMETER_COURSE_CATEGORY = "course_category";
    public final static String REQUEST_PARAMETER_WX_SHARE_DESCRIPTION = "wx_share_description";
    public final static String REQUEST_PARAMETER_COURSE_CONTENT_XML = "course_content_xml";
    public final static String REQUEST_PARAMETER_COURSE_PROFILE_URL = "course_profile_url";
    public final static String REQUEST_PARAMETER_COURSE_INDEX_NUM = "course_index_num";
    public final static String REQUEST_PARAMETER_ARTICLE_ID = "article_id";
    public final static String REQUEST_PARAMETER_SUBJECT_NAME = "subject_name";
    public final static String REQUEST_PARAMETER_ARTICLE_NUM = "article_num";
    public final static String REQUEST_PARAMETER_ARTICLE_TITLE = "article_title";
    public final static String REQUEST_PARAMETER_ARTICLE_CONTENT = "article_content";
    public final static String REQUEST_PARAMETER_ARTICLE_CN_CONTENT = "article_cn_content";
    public final static String REQUEST_PARAMETER_QUESTION_ID = "question_id";
    public final static String REQUEST_PARAMETER_QUESTION_INDEX = "question_index";
    public final static String REQUEST_PARAMETER_QUESTION_NUM = "question_num";
    public final static String REQUEST_PARAMETER_PARAGRAPH_NUM = "paragraph_num";
    public final static String REQUEST_PARAMETER_QUESTION_XML = "question_xml";
    public final static String REQUEST_PARAMETER_SECTION_NUM = "section_num";
    public final static String REQUEST_PARAMETER_ARTICLE_TYPE = "article_type";
    public final static String REQUEST_PARAMETER_ARTICLE_CATEGORY = "article_category";
    public final static String REQUEST_PARAMETER_ARTICLE_SCRIPT = "article_script";
    public final static String REQUEST_PARAMETER_AUDIO_URL = "audio_url";
    public final static String REQUEST_PARAMETER_URL = "url";
    public final static String REQUEST_PARAMETER_PIC_INFO = "pic_info";
    public final static String REQUEST_PARAMETER_OPERATE = "operate";
    public final static String REQUEST_PARAMETER_LIST = "list";
    public final static String REQUEST_PARAMETER_UNIT = "unit";
    public final static String REQUEST_PARAMETER_KEY = "key";
    public final static String REQUEST_PARAMETER_NAME = "name";
    public final static String REQUEST_PARAMETER_TEXT = "text";

    public final static String REQUEST_PARAMETER_EXAMINATION_ID = "examination_id";
    public final static String REQUEST_PARAMETER_EXPIRED_EXAM = "expired_exam";
    public final static String REQUEST_PARAMETER_ANSWER = "answer";
    public final static String REQUEST_PARAMETER_FILE = "file";
    public final static String REQUEST_PARAMETER_FILES = "files";
    public final static String REQUEST_PARAMETER_FILTER = "filter";
    public final static String REQUEST_PARAMETER_USER_ID = "user_id";
    public final static String REQUEST_PARAMETER_USER_NAME = "user_name";
    public final static String REQUEST_PARAMETER_USER_MOBILE_PHONE = "user_mobile_phone";
    public final static String REQUEST_PARAMETER_USER_EMAIL = "user_email";
    public final static String REQUEST_PARAMETER_USER_ROLE = "user_role";
    public final static String REQUEST_PARAMETER_USER_PASSWORD = "user_password";
    public final static String REQUEST_PARAMETER_USER_CONFIRM_PASSWORD = "user_confirm_password";
    public final static String REQUEST_PARAMETER_USER_AUTH_DATA = "user_auth_data";
    public final static String REQUEST_PARAMETER_IS_RESET_PASSWORD = "is_reset_password";
    public final static String REQUEST_PARAMETER_MOBILE_PHONE = "mobile_phone";
    public final static String REQUEST_PARAMETER_INVITE_CODE = "invite_code";
    public final static String REQUEST_PARAMETER_INVITE_TEST_NAME = "invite_test_name";
    public final static String REQUEST_PARAMETER_EXPIRED_TIME = "expired_time";
    public final static String REQUEST_PARAMETER_INVITE_CODE_NUM = "invite_code_num";
    public final static String REQUEST_PARAMETER_SPEAKING_SCORE = "speaking_score";
    public final static String REQUEST_PARAMETER_WRITING_SCORE = "writing_score";
    public final static String REQUEST_PARAMETER_TEST_ID = "test_id";
    public final static String REQUEST_PARAMETER_TEST_TYPE = "test_type";
    public final static String REQUEST_PARAMETER_TEST_NUM = "test_num";
    public final static String REQUEST_PARAMETER_TEST_TIME = "test_time";
    public final static String REQUEST_PARAMETER_TEST_ANSWER = "test_answer";
    public final static String REQUEST_PARAMETER_EXAM_TYPE = "exam_type";
    public final static String REQUEST_PARAMETER_EXAM_QUESTION_NUM_DATA = "exam_question_num_data";
    public final static String REQUEST_PARAMETER_EXAM_CONTENT_TYPE = "exam_content_type";
    public final static String REQUEST_PARAMETER_OLD_USER_PASSWORD = "old_user_password";
    public final static String REQUEST_PARAMETER_NEW_USER_PASSWORD = "new_user_password";
    public final static String REQUEST_PARAMETER_WORD = "word";
    public final static String REQUEST_PARAMETER_WORD_OBJ = "word_obj";
    public final static String REQUEST_PARAMETER_MARK_TYPE = "mark_type";
    public final static String REQUEST_PARAMETER_BIND = "bind";//微信绑定
    public final static String REQUEST_PARAMETER_BIND_PHONE = "bind_phone";//微信绑定已有手机号
    public final static String REQUEST_PARAMETER_BIND_OK = "bind_ok";//微信绑定手机号——已绑定
    public final static String REQUEST_PARAMETER_BIND_RECORD = "bind_record";//微信绑定手机号——保留记录(手机账号,微信)
    public final static String REQUEST_PARAMETER_SCENE_TYPE = "scene_type"; // 场景类型, 用于文件上传区分不同来源的上传文件
    public final static String REQUEST_PARAMETER_HOMEWORK_ID = "homework_id";
    public final static String REQUEST_PARAMETER_MARK_TEACHER_DATA = "mark_teacher_data";
    public final static String REQUEST_PARAMETER_HOMEWORK_RECORD_ID = "homework_record_id";
    public final static String REQUEST_PARAMETER_HOMEWORK_RECORD_IDS = "homework_record_id[]";
    public final static String REQUEST_PARAMETER_HOMEWORK_RECORD_STATUS = "homework_record_status";
    public final static String REQUEST_PARAMETER_HOMEWORK_QUESTION_NUM = "homework_question_num";
    public final static String REQUEST_PARAMETER_HOMEWORK_ANSWER_DATA = "homework_answer_data";
    public final static String REQUEST_PARAMETER_HOMEWORK_PROGRESS_DATA = "homework_progress_data";
    public final static String REQUEST_PARAMETER_ANSWER_DATA = "answer_data";
    public final static String REQUEST_PARAMETER_DETAIL_ANSWER = "detail_answer";
    public final static String REQUEST_PARAMETER_CATEGORY = "category";
    public final static String REQUEST_PARAMETER_STAT_RESULT = "stat_result";
    public final static String REQUEST_PARAMETER_HOMEWORK_CORRECTION_DOC_URL = "homework_correction_doc_url";
    public final static String REQUEST_PARAMETER_IS_CORRECTED = "is_corrected";
    public final static String REQUEST_PARAMETER_HOMEWORK_QUESTION_DATA = "homework_question_data";
    public final static String REQUEST_PARAMETER_QUESTION_DATA = "question_data";
    public final static String REQUEST_PARAMETER_SECURITY_TOKEN = "security_token";
    public final static String REQUEST_PARAMETER_TIME_STAMP = "time_stamp";
    public final static String REQUEST_PARAMETER_USER_TOKEN = "user_token";
    public final static String REQUEST_PARAMETER_CALLBACK_FUNC = "callback_func";
    public final static String REQUEST_PARAMETER_STUDENT_ID = "student_id";
    public final static String REQUEST_PARAMETER_INTRODUCER_ID = "introducer_id";
    public final static String REQUEST_PARAMETER_CLASS_LEVEL = "class_level";
    public final static String REQUEST_PARAMETER_CLASS_ID = "class_id";
    public final static String REQUEST_PARAMETER_PAGE_NUM = "page_num";
    public final static String REQUEST_PARAMETER_PAGE_SIZE = "page_size";
    public final static String REQUEST_PARAMETER_CLASS_info = "class_info";
    public final static String REQUEST_PARAMETER_TITLE = "title";
    public final static String REQUEST_PARAMETER_CATEGORY_ID = "category_id";
    public final static String REQUEST_PARAMETER_ORDER_DATA = "order_data";
    public final static String REQUEST_PARAMETER_TYPE = "type";
    public final static String REQUEST_PARAMETER_HTML_STR = "html_str";
    public final static String REQUEST_PARAMETER_INVITER_ID = "inviter_id";
    public final static String REQUEST_PARAMETER_INVITEE_ID = "invitee_id";
    public final static String REQUEST_PARAMETER_PAGE = "page";
    public final static String REQUEST_PARAMETER_REPORT_TYPE = "report_type";
    public final static String REQUEST_PARAMETER_PARENT_FEEDBACK = "parent_feedback";
    public final static String REQUEST_PARAMETER_TEACHER_REMARK = "teacher_remark";
    public final static String REQUEST_PARAMETER_NEW_CLASS_INFO = "new_class_info";
    public final static String REQUEST_PARAMETER_TEMPLATE_ID = "template_id";
    public final static String REQUEST_PARAMETER_TEMPLATE_NAME = "template_name";
    public final static String REQUEST_PARAMETER_NEW_NAME = "new_name";
    public final static String REQUEST_PARAMETER_NOTICE_CONTENT = "notice_content";
    public final static String REQUEST_PARAMETER_NOTICE_IDS = "notice_ids[]";
    public final static String REQUEST_PARAMETER_NOTICE_ID = "notice_id";

    public final static String REQUEST_PARAMETER_PRODUCT_ID = "product_id";
    public final static String REQUEST_PARAMETER_PRODUCT_PRICE = "product_price";
    public final static String REQUEST_PARAMETER_PRODUCT_PRICE_PRO = "product_price_pro";
    public final static String REQUEST_PARAMETER_WX_USER_ID = "wx_user_id";
    public final static String REQUEST_PARAMETER_CONTACT_MOBILE_PHONE = "contact_mobile_phone";
    public final static String REQUEST_PARAMETER_ORDER_STATUS = "order_status";
    public final static String REQUEST_PARAMETER_ORDER_ID = "order_id";
    public final static String REQUEST_PARAMETER_ORDER_NAME = "order_name";
    public final static String REQUEST_PARAMETER_ORDER_ZONE = "order_zone";
    public final static String REQUEST_PARAMETER_ORDER_ADDRESS = "order_address";
    public final static String REQUEST_PARAMETER_ORDER_REMARK = "order_remark";
    public final static String REQUEST_PARAMETER_ORDER_NOTE = "order_note";
    public final static String REQUEST_PARAMETER_COURSE_NUM = "course_num";
    public final static String REQUEST_PARAMETER_GIFT_NUM = "gift_num";
    public final static String REQUEST_PARAMETER_GROUP_ID = "group_id";
    public final static String REQUEST_PARAMETER_GROUP_NAME = "group_name";
    public final static String REQUEST_PARAMETER_WX_COURSE_ID = "wx_course_id";
    public final static String REQUEST_PARAMETER_SEND_WX_MSG_TIME = "send_wx_msg_time";
    public final static String REQUEST_PARAMETER_WX_COURSE_SHARE_RESULT = "share_result";
    public final static String REQUEST_PARAMETER_WX_COURSE_SHARE_TYPE = "share_type";
    public final static String REQUEST_PARAMETER_STATUS = "status";
    public final static String REQUEST_PARAMETER_MANAGE_USER_ID = "manage_user_id";

    public final static String REQUEST_PARAMETER_WX_PRODUCT_NAME = "wx_product_name";
    public final static String REQUEST_PARAMETER_WX_PRODUCT_DESCRIPTION = "wx_product_description";
    public final static String REQUEST_PARAMETER_WX_PRODUCT_PRICE = "wx_product_price";
    public final static String REQUEST_PARAMETER_WX_PRODUCT_STATUS = "wx_product_status";
    public final static String REQUEST_PARAMETER_WX_COURSE_CATEGORY = "wx_course_category";
    public final static String REQUEST_PARAMETER_WX_PRODUCT_ID = "wx_product_id";
    public final static String REQUEST_PARAMETER_PREPAY_TOKEN = "prepay_token";

    public final static String REQUEST_PARAMETER_WX_WORD_PRACTISE_SERIAL_NUM = "wx_word_practise_serial_num";
    public final static String REQUEST_PARAMETER_SERIAL_NUM = "serial_num";
    public final static String REQUEST_PARAMETER_WX_PRACTISE_TOP_NUM = "wx_practise_top_num";
    public final static String REQUEST_PARAMETER_WX_PRACTISE_MEDIA_ID = "media_id";
    public final static String REQUEST_PARAMETER_WX_WECHAT_GROUP_ID = "wx_wechat_group_id";
    public final static String REQUEST_PARAMETER_PAPER_ID = "paper_id";
    public final static String REQUEST_PARAMETER_BEGIN_TIME = "begin_time";
    public final static String REQUEST_PARAMETER_END_TIME = "end_time";
    public final static String REQUEST_PARAMETER_DATE_STR = "date_str";
    public final static String REQUEST_PARAMETER_DATA_STR = "data_str";
    public final static String REQUEST_PARAMETER_USE_TIME = "use_time";
    public final static String REQUEST_PARAMETER_RECORD = "record";
    public final static String REQUEST_PARAMETER_SCORE = "score";
    public final static String REQUEST_PARAMETER_SCORE_TYPE = "score_type";

    public final static String REQUEST_PARAMETER_COST_TIME = "cost_time";
    public final static String REQUEST_PARAMETER_DISTANCE = "distance";
    public final static String REQUEST_PARAMETER_START_SCORE = "start_score";
    public final static String REQUEST_PARAMETER_WINNER_SCORE = "winner_score";
    public final static String REQUEST_PARAMETER_RUN_DATE = "run_date";

    public final static String REQUEST_PARAMETER_PRODUCT_NAME = "product_name";
    public final static String REQUEST_PARAMETER_PRODUCT_DESCRIPTION = "product_description";
    public final static String REQUEST_PARAMETER_PRODUCT_STATUS = "product_status";

    public final static String PARAM_EXAM_ID = "examId";


    /**
     * xml node name
     */
    public final static String XML_NODE_NAME_TITLE = "title";
    public final static String XML_NODE_NAME_TYPE = "type";
    public final static String XML_NODE_NAME_ANSWER = "answer";
    public final static String XML_NODE_NAME_TIP = "tip";
    public final static String XML_NODE_NAME_EXPL = "expl";
    public final static String XML_NODE_NAME_OPTIONS = "options";
    public final static String XML_NODE_NAME_TITLE_AUDIO_URL = "title_audio_url";
    public final static String XML_NODE_NAME_REPEAT_AUDIO_URL = "repeat_audio_url";
    public final static String XML_NODE_NAME_QUEUE = "queue";
    public final static String XML_NODE_NAME_URL = "url";
    public final static String XML_NODE_NAME_START = "start";
    public final static String XML_NODE_NAME_ITEM = "item";
    public final static String XML_NODE_NAME_USER_ID = "user_id";
    public final static String XML_NODE_NAME_ITEM_TYPE = "item_type";
    public final static String XML_NODE_NAME_ITEM_VALUE = "item_value";
    public final static String XML_NODE_NAME_SCRIPT = "script";
    public final static String XML_NODE_NAME_AUDIO = "audio";
    public final static String XML_NODE_NAME_LIST = "list";
    public final static String XML_NODE_NAME_PREPARE = "prepare";
    public final static String XML_NODE_NAME_READING = "reading";
    public final static String XML_NODE_NAME_LISTENING = "listening";
    public final static String XML_NODE_NAME_PIC = "pic";
    public final static String XML_NODE_NAME_CONTENT = "content";
    public final static String XML_NODE_NAME_TIME = "time";
    public final static String XML_NODE_NAME_INTEGRATED = "integrated";
    public final static String XML_NODE_NAME_QUESTION = "question";
    public final static String XML_NODE_NAME_VOCAB = "vocab";
    public final static String XML_NODE_NAME_WORD = "word";
    public final static String XML_NODE_NAME_WEIGHT = "weight";
    public final static String XML_NODE_NAME_SPEAKING = "speaking";
    public final static String XML_NODE_NAME_LOGIC_ONE = "logic_one";
    public final static String XML_NODE_NAME_LOGIC_TWO = "logic_two";
    public final static String XML_NODE_NAME_RELATIONSHIP = "relationship";
    public final static String XML_NODE_NAME_SCORE = "score";
    public final static String XML_NODE_NAME_ERROR = "error";
    public final static String XML_NODE_NAME_CORRECT = "correct";
    public final static String XML_NODE_NAME_PERCENT = "percent";
    public final static String XML_NODE_NAME_BLANKS = "blanks";
    public final static String XML_NODE_NAME_GROUP = "group";
    public final static String XML_NODE_NAME_GRAMMAR = "grammar";
    public final static String XML_NODE_NAME_TEXT = "text";
    public final static String XML_NODE_NAME_DETAIL = "detail";
    public final static String XML_NODE_NAME_WORD_PRACTISE_ID = "word_practise_id";
    public final static String XML_NODE_NAME_WORD_PRACTISE_NAME = "word_practise_name";
    public final static String XML_NODE_NAME_SSAT_PAPER_ID = "ssat_paper_id";
    public final static String XML_NODE_NAME_SSAT_PAPER_NAME = "ssat_paper_name";
    public final static String XML_NODE_NAME_WX_TOWORDS_ID = "wx_towords_id";
    public final static String XML_NODE_NAME_WX_TOWORDS_TITLE = "wx_towords_title";
    public final static String XML_NODE_NAME_SUBJECT_NAME = "subject_name";
    public final static String XML_NODE_NAME_CONTENT_TYPE = "content_type";
    public final static String XML_NODE_NAME_ARTICLE_NUM = "article_num";
    public final static String XML_NODE_NAME_DOC_URL = "doc_url";
    public final static String XML_NODE_NAME_NEED_AUDIO_ANSWER = "need_audio_answer";
    public final static String XML_NODE_NAME_PRONOUNCE = "pronounce";
    public final static String XML_NODE_NAME_POSP = "posp";
    public final static String XML_NODE_NAME_EXPLAIN_CN = "explain_cn";
    public final static String XML_NODE_NAME_EXPLAIN_EN = "explain_en";
    public final static String XML_NODE_NAME_EXAMPLE_CN = "example_cn";
    public final static String XML_NODE_NAME_EXAMPLE_EN = "example_en";
    public final static String XML_NODE_NAME_GET = "get";
    public final static String XML_NODE_NAME_POST = "post";

    /**
     * xml attribute name
     */
    public final static String XML_ATTRIBUTE_NAME_ORDER = "order";
    public final static String XML_ATTRIBUTE_NAME_PER_TIME = "per_time";
    public final static String XML_ATTRIBUTE_NAME_TOTAL_TIME = "total_time";
    public final static String XML_ATTRIBUTE_NAME_TYPE = "type";
    public final static String XML_ATTRIBUTE_NAME_INDEX = "index";
    public final static String XML_ATTRIBUTE_NAME_DES = "des";
    public final static String XML_ATTRIBUTE_NAME_ID = "id";


    /**
     * dao param name
     */
    public final static String MAPPER_PARAM_ARTICLE_NUM = "articleNum";
    public final static String MAPPER_PARAM_QUESTION_NUM = "questionNum";
    public final static String MAPPER_PARAM_SUBJECT_NAME = "subjectName";
    public final static String MAPPER_PARAM_LISTENING_ARTICLE_ID = "tsListeningArticleId";
    public final static String MAPPER_PARAM_USER_ID = "userId";
    public final static String MAPPER_PARAM_HOMEWORD_RECORD_ID = "homeworkRecordId";
    public final static String MAPPER_PARAM_HOMEWORD_QUESTION_NUM = "homeworkQuestionNum";
    public final static String MAPPER_PARAM_CODE = "code";
    public final static String MAPPER_PARAM_RESULT = "result";

    /**
     * 单词测试-重置密码
     */
    public final static String REQUEST_PARAM_RESET_PASSWORD = "reset";
    /**
     * 单词测试:listNum_unitNum
     */
    public final static String MAPPER_PARAM_LIST_AND_UNIT = "list_unit";
    public final static String REQUEST_PARAM_BACK_URL = "back_url";

    /**
     * session & cookie
     */
    public final static String SESSION_ITEM_TS_USER_INFO = "session_item_ts_user_info";
    public final static String SESSION_ITEM_WX_USER_AUTH_BACK_URL = "session_item_wx_user_auth_back_url";
    public final static Integer SESSION_KEEP_EXPIRED_SECOND = 60 * 60 * 24; // 1天
    public final static String COOKIE_ITEM_TS_WX_USER_INFO = "cookie_item_ts_wx_user_info";
    public final static Integer COOKIE_KEEP_EXPIRED_SECOND = 60 * 60 * 24 * 7; // 7天
    public final static String COOKIE_ITEM_EXAM_TOKEN_INFO = "cookie_item_exam_token_info";
    public final static String SESSION_ITEM_SSAT_INFO = "session_item_ssat_info";
    public final static String SESSION_ITEM_FOR_TOWORDS = "session_item_for_towords";
    public final static String COOKIE_ITEM_USER_TOKEN = "topschool_ibt_cookie_item_user_token";
    public final static Integer COOKIE_ITEM_USER_TOKEN_EXPIRY_SECOND = 60 * 60 * 24 * 30;
    public final static Integer COOKIE_ITEM_ADMIN_LOGIN_USER_TOKEN_EXPIRY_SECOND = 60 * 60;

    /**
     * invite code
     */
    public final static String INVITE_CODE_TEST_NAME_PLACEMENT_TEST = "placement_test";
    public final static String INVITE_CODE_PREFIX_PLACEMENT_TEST = "pt";
    public final static Integer INVITE_CODE_PLACEMENT_TEST_LENGTH = 5;
    public final static Float PLACEMENT_TEST_QUESTION_DEFAULT_WEIGHT = 1.00f;

    /**
     * cache queue
     */
    public final static Integer EXAM_QUEUE_AUTO_CLEAR_EXPIRED_SECOND = 60 * 60 * 24;      // 模考缓存失效时间
    public final static Integer PT_QUEUE_AUTO_CLEAR_EXPIRED_SECOND = 60 * 60;             // 入学测试缓存失效时间
    public final static Integer CACHE_AUTO_CLEAR_EXPIRED_SECOND = 60 * 60 * 24;           // 系统数据缓存失效时间

    /**
     * MC
     */
    public final static String MC_KEY_PREFIX_DAILY_DEVELOP = "DAILY_DEVELOP_";
    public final static String MC_KEY_PREFIX_DAILY_PRE_OFFICIAL = "PRE_OFFICIAL_";
    public final static String MC_CUR_CLASSES_MAP_KEY = "MC_CUR_CLASSES_MAP_KEY";
    public final static Integer MC_PT_RECORD_EXPIRY_SECOND = 60 * 60 * 4;   // 四个小时
    public final static String MC_EXAM_CURRENT_EXAM_ID_LIST = "MC_EXAM_CURRENT_EXAM_ID_LIST";
    public final static Integer MC_EXAM_RECORD_EXPIRY_SECOND = 60 * 60 * 24 * 14;     // 14天
    public final static Integer MC_PT_DATA_EXPIRY_SECOND = 24 * 60 * 60 * 7;    // 七天
    public final static Integer MC_CLASSES_DATA_EXPIRY_SECOND = 24 * 60 * 60 * 10;    // 十天
    public final static String MC_WORD_TEST_DATA_PREFIX = "SWORD_TEST_CACHE_";
    public final static Integer MC_WORD_TEST_DATA_EXPIRY_SECOND = 60 * 60 * 24 * 30;    // 一个月
    public final static String MC_SYSTEM_DAILY_LOG_KEY = "MC_SYSTEM_DAILY_LOG_KEY";
    public final static Integer MC_SYSTEM_DAILY_LOG_EXPIRY_SECOND = 30 * 60;
    public final static Integer MC_SYS_USER_BASE_INFO_EXPIRY_SECOND = 60 * 60 * 24;
    public final static String MC_SYS_USER_BASE_INFO = "MC_SYS_USER_BASE_INFO";
    public final static String MC_WX_COURSE_ITEM_PREFIX = "MC_WX_COURSE_ITEM_";
    public final static String MC_WEI_XIN_WORD_PRACTISE_QUEUE_CACHE_TIME = "MC_WEI_XIN_WORD_PRACTISE_QUEUE_CACHE_TIME";
    public final static String MC_WX_TO_WORDS_CACHE_DATE_ITEM = "MC_WX_TO_WORDS_CACHE_DATE_ITEM";
    public final static Integer MC_COMMON_CACHE_EXPIRY_SECOND = 60 * 60 * 24 * 30;
    public final static String MC_WX_SHOP_PRODUCT_LIST_PREFIX = "MC_WX_SHOP_PRODUCT_LIST_";
    public final static Integer MC_WX_SHOP_PRODUCT_LIST_EXPIRY_SECOND = 60 * 60 * 24 * 30;
    public final static Integer MC_WX_COURSE_ITEM_EXPIRY_SECOND = 60 * 60 * 24 * 30;
    public final static String MC_YUNPIAN_SMS_ITEM_PREFIX = "MC_YUNPIAN_SMS_ITEM_";
    public final static Integer MC_YUNPIAN_SMS_ITEM_EXPIRY_SECOND = 60 * 15;
    public final static String MC_WX_COURSE_CHART_YTD_VISIT_COUNT_DATA = "MC_WX_COURSE_CHART_YTD_VISIT_COUNT_DATA";
    public final static String MC_WX_COURSE_CHART_YTD_NEW_USER_DATA = "MC_WX_COURSE_CHART_YTD_NEW_USER_DATA";
    public final static String MC_WX_COURSE_CHART_AVG_VISIT_COUNT_DATA = "MC_WX_COURSE_CHART_AVG_VISIT_COUNT_DATA";
    public final static String MC_WX_COURSE_CHART_LATEST_SHARE_COUNT_DATA = "MC_WX_COURSE_CHART_LATEST_SHARE_COUNT_DATA";
    public final static Integer MC_WX_COURSE_CHART_EXPIRY_SECOND = 60 * 60 * 24;
    public final static String MC_WX_COURSE_CHART_CURRENT_DATE = "MC_WX_COURSE_CHART_CURRENT_DATE";
    public final static String MC_WX_API_ACCESS_TOKEN_REFRESH_INFO = "MC_WX_API_ACCESS_TOKEN_REFRESH_INFO";
    public final static String MC_WX_COURSE_BASIC_INFO_ITEM_PREFIX = "MC_WX_COURSE_BASIC_INFO_ITEM_";
    public final static Integer MC_WX_COURSE_BASIC_INFO_EXPIRY_SECOND = 60 * 60 * 24;
    public final static String MC_WX_COURSE_CHART_WE_CHAT_DATA_MAP = "MC_WX_COURSE_CHART_WE_CHAT_DATA_MAP";
    public final static Integer MC_WX_COURSE_CHART_WE_CHAT_DATA_EXPIRY_SECOND = 60 * 60 * 24;
    public final static String MC_HOMEWORK_PROGRESS_ITEM_PREFIX = "MC_HOMEWORK_PROGRESS_ITEM_";
    public final static Integer MC_HOMEWORK_PROGRESS_EXPIRY_SECOND = 60 * 60 * 24 * 7;
    public final static String MC_WX_ARTICLE_VISIT_COUNT_MAP_KEY = "MC_WX_ARTICLE_VISIT_COUNT_MAP_KEY";
    public final static Integer MC_WX_ARTICLE_VISIT_COUNT_MAP_EXPIRY_SECOND = 60 * 60;
    public final static Integer MC_CURRENT_LOGIN_USER_TOKEN_EXPIRY_SECOND = 60 * 60 * 24 * 7;
    public final static String MC_CLASS_CACHE_DATE_ITEM = "MC_CLASS_CACHE_DATE_ITEM";
    public final static String MC_SSAT_WORD_CACHE_DATE_ITEM = "MC_SSAT_WORD_CACHE_DATE_ITEM";
    public final static String MC_WX_ACCESS_TOKEN_KEY = "MC_WX_ACCESS_TOKEN_KEY";
    public final static Integer MC_WX_ACCESS_TOKEN_EXPIRY_SECOND = 60 * 60 * 2;
    public final static String MC_WX_JS_API_TICKET_KEY = "MC_WX_JS_API_TICKET_KEY";
    public final static Integer MC_WX_JS_API_TICKET_EXPIRY_SECOND = 60 * 60 * 2;
    public final static String MC_FUN_RUN_GAME_LAST_WEEK_RESULT_PREFIX = "MC_FUN_RUN_GAME_LAST_WEEK_RESULT_";
    public final static Integer MC_FUN_RUN_GAME_LAST_WEEK_RESULT_EXPIRY_SECOND = 60 * 60 * 24 * 7;

    /**
     * File
     */
    public final static Integer FILE_MAX_SIZE_ALLOWED = 10;  // 单位M
    public final static String FILE_EXT_NAME_MP3 = ".mp3";
    public final static String FILE_EXT_NAME_M4A = ".m4a";
    public final static String FILE_EXT_NAME_WAV = ".wav";
    public final static String FILE_EXT_NAME_DOC = ".doc";
    public final static String FILE_EXT_NAME_DOCX = ".docx";
    public final static String FILE_EXT_NAME_PDF = ".pdf";
    public final static String FILE_EXT_NAME_JPG = ".jpg";
    public final static String FILE_EXT_NAME_JPEG = ".jpeg";
    public final static String FILE_EXT_NAME_PNG = ".png";
    public static final String CONTENT_TYPE_IMAGE_PNG = "image/png";


    /*
    文本录入正则表达式
     */
    //正则标签
    public final static String TYPE_TEST = "^<\\D{1,20}>$";
    //正则问题
    public final static String QUESTION_TEST = "^\\d{1,3}(\\.|\\s).*$";
    //正则问题
    public final static String QUESTION_NUM_TEST = "\\d{1,3}(\\.|\\s)";
    //正则选项
    public final static String OPTION_TEST = "^[A-F](\\.|\\s|\\)).*$";
    //释疑
    public final static String EXPL_TEST = "^expl.*$";
    //文章标题
    public final static String TITLE_TEST = "^title.*$";
    //文章内容
    public final static String CONTENT_TEST = "^content.*$";
    //img
    public final static String IMG_TEST = "^img\\d{1,3}.*$";
    //voice
    //String voiceTest = "^voice.*$";
}
